package com.shuqing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shuqing.entity.Repo;
import com.shuqing.seata.common.response.UndoLogVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author:Easettle
 **/
@Mapper
public interface RepoMapper extends BaseMapper<Repo> {

    /**
     * @param productCode
     * @param count
     * @return
     */
    int decreaseRepo(@Param("productCode") String productCode, @Param("count") Integer count);

    UndoLogVo undoLog();
}
